package com.fan.analysis.module.analysis.group.domain.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fan.analysis.common.domain.BaseEntity;
import lombok.*;

import java.io.Serializable;

/**
 * 用户关系表
 *
 * @author fan
 * @date 2021/09/24 20:43
 **/
@EqualsAndHashCode(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Data
@TableName(value = "user_relation")
public class UserRelationEntity extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 7672970996777675570L;
    /**
     * 主键id
     */
    @TableId(value = "relation_id", type = IdType.AUTO)
    private Long id;

    /**
     * 手机号1
     */
    @TableField("phone_num1")
    private String phoneNum1;
    /**
     * 手机号2
     */
    @TableField("phone_num2")
    private String phoneNum2;
    /**
     * 关系
     */
    @TableField("relation")
    private String relation;

    /**
     * 关系强度
     */
    @TableField("re_strength")
    private Float reStrength;

    /**
     * 通话次数
     */
    @TableField("call_number")
    private Integer callNumber;
    /**
     * 通讯次数
     */
    @TableField("message_number")
    private Integer messageNumber;


    /**
     * 常用通话时间
     */
    @TableField("contact_time")
    private String contactTime;

    /**
     * 称谓
     */
    @TableField("appellation")
    private String appellation;
    /**
     * 关键词
     */
    @TableField("topic_keyword")
    private String topicKeyword;


    /**
     * 平均通话时长
     */
    @TableField("call_duration")
    private Integer callDuration;


}
